.projectWrap {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    .projectInner {
        height: 100%;
        top: 0;
        z-index: 3;
        margin: 0 auto;
        width: 1000px;
        .p-title {
            height: 50px;
            background: #2cb38e;
            color: #fff;
            line-height: 30px;
            padding: 10px 20px;
            font-size: 18px;
            .close {
                float: right;
                font-size: 28px;
                line-height: 24px;
                cursor: pointer;
            }
        }
        .p-content {
            padding-top: 8px;
            height: calc(~"100% - 50px");
            overflow: hidden;
            background: #fff;
            padding-bottom: 30px;
            .p-left {
                overflow: auto;
                height: 100%;
                padding: 15px 16px 0 20px; //border-right: 2px solid #2cb38e;
                float: left;
                width: 390px;
                .projectBox {
                    position: relative;
                    width: 100%;
                    margin-bottom: 20px;
                    border: 1px solid #9A9A9A;
                    border-radius: 6px;
                    padding: 10px 20px;
                    background-color: #dadada;
                    .removeIcon {
                        position: absolute;
                        top: -15px;
                        right: -12px;
                        font-size: 30px;
                        color: #fff;
                        width: 30px;
                        height: 30px;
                        border-radius: 30px;
                        cursor: pointer;
                        background-color: #2cb38e;
                        span {
                            position: absolute;
                            left: 5px;
                            top: -8px;
                        }
                    }
                    .removeIcon:hover {
                        filter: opacity(70%);
                    }
                }
                .input-wrap {
                    position: relative;
                    width: 100%;
                    margin: 10px 0;
                    .title {
                        float: left;
                        padding-left: 12px;
                        width: 120px;
                        text-align: right;
                        line-height: 43px;
                        font-size: 18px;
                        color: #999;
                    }
                    .con {
                        white-space: nowrap;
                        height: 45px;
                        min-height: 26px;
                        text-align: center;
                        line-height: 30px;
                        font-size: 16px;
                        color: #037ac3;
                        padding: 5px 5px 5px 120px;
                        border: 1px solid #c1c1c1;
                        border-radius: 4px;
                        background: #fff;
                        >div {
                            overflow: hidden;
                        }
                        .input-box {
                            white-space: nowrap;
                            height: 30px;
                            min-height: 26px;
                            text-align: center;
                            line-height: 30px;
                            font-size: 16px;
                            color: #037ac3;
                            border: 0;
                            border-radius: 4px;
                            background: #fff;
                            padding: 0;
                            input {
                                font-size: 16px;
                                border: 0;
                            }
                        }
                        &:hover,
                        &.act {
                            border-color: #2cb38e;
                            box-shadow: 0 0 2px #2cb38e;
                        }
                        .memo,
                        .name {
                            border-color: #f2f2f2;
                            font-size: 20px;
                        }
                    }
                    .clear-btn {
                        top: 13px;
                        right: 5px;
                    }
                    em {
                        font-style: normal;
                        em {
                            color: red;
                            padding-right: 5px;
                        }
                        .unvisible {
                            visibility: hidden;
                        }
                    }
                    .pointer {}
                    input {
                        display: block;
                        width: 100%;
                        height: 32px;
                        border: 1px solid #c1c1c1;
                        border-radius: 6px;
                        text-align: center;
                        line-height: 30px;
                        font-size: 22px;
                        color: #037ac3;
                    }
                    input[type="button"] {
                        margin-top: -8px;
                        font-size: 16px;
                        height: 36px;
                        color: #666;
                        line-height: 34px;
                    }
                }
                .add {
                    margin: 20px 0;
                    input[type="button"] {
                        background: #ffd4c6;
                        color: #fd2b2b;
                    }
                }
                .fast {
                    margin: 20px 0;
                    input {
                        background: #e0e0e0;
                        color: #8a8a8a;
                        &.fastorder[type="button"] {
                            background: #e02637;
                            color: #fff;
                        }
                    }
                }
                .btn {
                    margin-top: 30px;
                    display: block;
                    height: 54px;
                    width: 100%;
                    // border: 1px solid #c1c1c1;
                    border-radius: 6px;
                    text-align: center;
                    line-height: 52px;
                    font-size: 18px;
                    color: #333;
                    font-weight: bold;
                    background: #E6C05F;
                    border: 0;
                }
                #projectDate {
                    position: relative;
                    .calendar {
                        position: absolute;
                    }
                }
            }
            .p-right {
                float: right;
                margin-right: 13px;
                padding-top: 5px;
                width: 582px;
                height: 100%;
                .select-wrap {
                    height: calc(~'100% - 10px');
                    margin-top: 10px;
                    overflow-y: auto;
                    &.hasSelect {
                        height: calc(~'100% - 70px');
                    }
                    &.horizontal {
                        .itemUl .itemLi {
                            width: 100%;
                            height: 50px;
                            margin: 0 0 10px;
                            padding-left: 10px;
                            line-height: 1;
                            overflow: hidden;
                            span {
                                line-height: 50px;
                            }
                        }
                    }
                    .itemUl {
                        margin-left: -10px;
                        position: relative;
                        .itemLi-active {
                            background-color: #037AC3 !important;
                            color: #fff !important;
                        }
                        .itemLi {
                            height: 142px;
                            line-height: 142px;
                            float: left;
                            width: calc(~"25% - 10px");
                            margin: 0 0 10px 10px;
                            background-color: #dadada;
                            font-size: 20px;
                            text-align: center;
                            color: #333;
                            overflow: hidden;
                            position: relative;
                            &:hover {
                                background-color: #037ac3;
                                color: #fff;
                            }
                            span {
                                float: none;
                                display: inline-block;
                                width: calc(100% - 2px);
                                line-height: 26px;
                                height: auto;
                                vertical-align: middle;
                                text-align: center;
                                font-size: 18px;
                                overflow: hidden;
                            }
                            img{
                                position: absolute;
                                width: auto;
                                left: 33%;
                                top: 22%;
                            }
                        }
                    }
                    .iconLi{
                        span{
                            margin-top: 42%;
                        }
                    }
                }
                .select-handle input {
                    display: inline-block;
                    width: 300px;
                    border-radius: 6px;
                    border: 1px solid #c1c1c1;
                    padding: 7px 10px;
                    font-size: 16px;
                }
            }
        }
    }
}

.patientModal .pBody .pCont .pNum {
    text-align: left;
    padding: 0 60px;
}

@media screen and (max-width: 1200px) {
    .projectWrap .projectInner {
        width: 900px;
        .p-content {
            padding-bottom: 16px;
            .p-left {
                width: 340px;
                .projectBox {
                    padding: 6px 12px;
                    .removeIcon {
                        top: -12px;
                        right: -12px;
                        width: 26px;
                        height: 26px;
                        span {
                            left: 3px;
                            top: -7px;
                            font-size: 26px;
                        }
                    }
                }
                .input-wrap {
                    input[type=button] {
                        font-size: 14px;
                        height: 34px;
                        line-height: 32px;
                    }
                    .title {
                        width: 106px;
                        font-size: 16px;
                    }
                    .con {
                        height: 42px;
                        padding: 5px 5px 5px 108px;
                        .input-box {
                            white-space: nowrap;
                            height: 25px;
                            min-height: 25px;
                            text-align: center;
                            line-height: 25px;
                            font-size: 12px;
                        }
                    }
                    .btn {
                        margin-top: 26px;
                        height: 46px;
                        line-height: 46px;
                        font-size: 17px;
                    }
                    .clear-btn {
                        top: 11px;
                    }
                }
            }
            .p-right {
                width: 532px;
                .select-wrap .itemUl .itemLi span {
                    font-size: 16px;
                }
            }
        }
    }
    .projectWrap .projectInner .p-title {
        height: 40px;
        line-height: 22px;
        padding: 6px 20px;
        font-size: 16px;
    }
    .projectWrap .projectInner .p-title .close {
        font-size: 24px;
        line-height: 24px;
    }
    .projectWrap .projectInner .p-content {
        height: calc(~'100% - 40px');
    }
    .patientModal {
        .pHead {
            font-size: 22px;
            padding-top: 20px;
            padding-bottom: 10px;
        }
        .pBody {
            line-height: 30px;
            font-size: 18px;
        }
        .pBottom {
            padding-top: 16px;
            padding-bottom: 20px;
            button {
                padding: 10px 0;
                font-size: 18px;
            }
        }
    }
}

@media screen and (max-width: 900px) {
    .projectWrap .projectInner {
        width: 600px;
        .p-content {
            height: calc(~'100% - 30px');
            padding: 7px 0;
            .p-left {
                width: 260px;
                padding: 10px 10px 0 10px;
                .btn {
                    margin-top: 14px;
                    height: 36px;
                    line-height: 36px;
                    font-size: 14px;
                }
                .projectBox {
                    padding: 2px 8px;
                    margin-bottom: 12px;
                    .removeIcon {
                        top: -8px;
                        right: -6px;
                        width: 18px;
                        height: 18px;
                        span {
                            left: 3px;
                            top: -5px;
                            font-size: 18px;
                        }
                    }
                }
                .input-wrap {
                    margin: 8px 0;
                    &.fast {
                        margin: 15px 0 0;
                    }
                    input[type=button] {
                        font-size: 12px;
                        height: 30px;
                        line-height: 28px;
                    }
                    .title {
                        width: 78px;
                        font-size: 12px;
                        padding: 0;
                        line-height: 30px;
                    }
                    .con {
                        height: 30px;
                        line-height: 24px;
                        padding: 3px 5px 3px 79px;
                        font-size: 12px;
                        .name,
                        .memo {
                            font-size: 12px;
                            height: 22px;
                            line-height: 22px;
                        }
                    }
                    .btn {
                        margin-top: 15px;
                        height: 36px;
                        line-height: 36px;
                        font-size: 14px;
                    }
                    .clear-btn {
                        top: 8px;
                    }
                }
            }
            .p-right {
                width: 324px;
                margin-right: 8px;
                .select-wrap .itemUl .itemLi {
                    height: 74px;
                    line-height: 74px;
                    span {
                        font-size: 14px;
                        line-height: 18px;
                    }
                    img{
                        width: 31%;
                    }
                }
                .select-wrap.horizontal .itemUl .itemLi {
                    height: 30px;
                    margin: 0 0 9px;
                    span {
                        line-height: 30px;
                        font-size: 14px;
                    }
                }
            }
        }
    }
    .projectWrap .projectInner .p-title {
        height: 30px;
        line-height: 22px;
        padding: 4px 8px;
        font-size: 14px;
    }
    .projectWrap .projectInner .p-title .close {
        font-size: 18px;
        line-height: 22px;
    }
    .patientModal {
        .pHead {
            font-size: 22px;
            padding-top: 20px;
            padding-bottom: 10px;
        }
        .pBody {
            line-height: 30px;
            font-size: 18px;
        }
        .pBottom {
            padding-top: 16px;
            padding-bottom: 20px;
            button {
                padding: 10px 0;
                font-size: 18px;
            }
        }
    }
    .patientModal {
        .pHead {
            font-size: 16px;
            padding-top: 11px;
            padding-bottom: 6px;
        }
        .pBody {
            line-height: 20px;
            font-size: 14px;
        }
        .pBottom {
            padding-top: 10px;
            padding-bottom: 15px;
            button {
                margin: 0 12px;
                padding: 7px 0;
                font-size: 14px;
            }
        }
    }
}